WpAssetCleanUp\Preloads D

Total Complexity 145
Dependencies 7
Dependents 6
Total lines 570
Lines of code 337
Logical lines of code 218
Comment lines 105
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
enablePreloads()
C
40 31 48
updatePreloads()
B
44 20 40
appendPreloadsForStylesToHead()
B
41 17 49
preloadCss()
A
52 12 22
preloadJs()
A
53 12 21
removePreloadFromChosenAssets()
A
47 9 32
getPreloads()
A
54 8 20
init()
S
54 7 20
updatePreloadsAdapt()
S
58 7 14
appendPreloadsForScriptsToHead()
S
54 6 19
doChanges()
S
63 4 10
__construct()
S
64 3 10
linkPreloadCssFormat()
S
65 3 9
preventPreload()
S
71 3 6
instance()
S
71 2 6
noticePreloadsRemoved()
S
67 1 11